let list = [
    { label: "工作台",  path:'/WorkTable',id:'1'},
    // 
    { label: "待处理签约",   path:'/PendingContract',id:'2'},
    { label: "签约记录",   path:'/RecordOfContract',id:'2'},
    // 
    { label: "待处理服务",   path:'/PendingServices',id:'3'},
    { label: "服务记录",   path:'/RecordOfService',id:'3'},
    // 
    { label: "居民列表",   path:'/ListOfResidents',id:'4'},
    // 
    { label: "机构管理",   path:'/OrganizationManagement',id:'5'},
    { label: "团队管理",   path:'/TeamManagement',id:'5'},
    { label: "医生管理",   path:'/DoctorManagement',id:'5'},
    { label: "服务包管理",   path:'/ServicePackManagement',id:'5'},
    { label: "服务项目管理",   path:'/ServiceProjectManagement',id:'5'},
    { label: "业绩目标管理",   path:'/PerformanceTargetManagement',id:'5'},
    // 
    { label: "数据概括",   path:'/DataSummarization',id:'6'},
    { label: "签约业绩统计",   path:'/StatisticsOfContractData',id:'6'},
    { label: "服务业绩统计",   path:'/ServicePerformanceStatistics',id:'6'},
    { label: "业绩目标统计",   path:'/PerformanceTargetStatistics',id:'6'},
    // 
    { label: "标签管理",   path:'/LabelSettings',id:'7'},
    { label: "角色管理",   path:'/RoleManagement',id:'7'},
    { label: "资讯管理",   path:'/InformationManagement',id:'7'},
    { label: "药品管理",   path:'/DrugAdministration',id:'7'},
    { label: "轮播图管理",   path:'/CarouselGraphManagement',id:'7'},
    { label: "系统公告",   path:'/SystemAnnouncement',id:'7'},
    { label: "协议管理",   path:'/ProtocolManagement',id:'7'},
    { label: "个人资料",   path:'/PersonalData',id:'7'},
    { label: "操作日志",   path:'/OperationLog',id:'7'},
  ];
  
  export default function getSiderPath(label:any) {
    let data = list.find((item) => {
        return item.label == label;
       });
       
       if(data){
         return data.path
       }
 
  };
  